<!--
/*
*All rights reserved: Json.
*Links:http://www.liyaoquan.cn.
*Links:http://imarkchina.cn.
*Links:http://www.imarkchina.cn.
*/
-->
{A('public/header')}
<body>
	{A('public/top')}
	<div class="zh1 bjb">
		<div class="left fl">
			<script type="text/javascript" src="{ROOT_URL}{C('edit')}third-party/SyntaxHighlighter/shCore.js"></script>
			<link rel="stylesheet" href="{ROOT_URL}{C('edit')}third-party/SyntaxHighlighter/shCoreDefault.css">
			<script type="text/javascript">SyntaxHighlighter.all();</script>
			<div class="gonggao">
				<i class="fa fa-home"></i>
				<a href="{U()}">博客首页</a> -> <a href="{U('list/index', array('lid' => $file['listid']))}">{$file['list']}</a> -> {$file['title']} -> 日志正文
			</div>
			<div class="info">
				<div class="info-bt">
					<h1 class="title">{$file['title']}</h1>
					<small class="fl">
						<span><i class="fa fa-user"></i> {A('public/nick')}</span>
						<span><i class="fa fa-clock-o"></i> {$file['date']} / {$file['time']} </span>
						<span><i class="fa fa-folder"></i> {$file['list']}</span>
						<span><i id="hid" class="fa fa-eye"></i>℃</span>
						<span><a href="#comments" title="欢迎您对日志发表评论"><i id="getpid" class="fa fa-comments-o"></i></a></span>
					</small>
					<span class="fr">{A('ad/sharecode')}</span>
					<div class="clear"></div>
				</div>
				<div class="jssseo"><span class="seozw fl">日志正文</span> <a href="#comments">参与评论（<a id="getppid"></a>人参与)</a></div>
<script type="text/javascript">
	$("#hid").load("{U('public/hit', array('hid'=>$file['id']))}");
	$("#getpid").load("{U('public/getpid', array('getpid'=>$file['id']))}");
	$("#getppid").load("{U('public/getpid', array('getpid'=>$file['id']))}");
</script>
<div class="info-zi">
	<p>{$file['content']}</p>
	<p>标签：{foreach $file['tags'] $v}<a href="{U('search/s', array('s'=>$v))}" class="tag">{$v}</a>&nbsp;{/foreach}
	</p>
</div>
<div class="sx">
	<li class="fl">上一篇：{if $lastp}
		<a href="{U('index', array('id'=>$lastp['id']))}" title="{$lastp['title']}" target="_blank">{$lastp['title']}{else}没有了{/if}</a></li>
		<li class="fl">下一篇：{if $nextp}
			<a href="{U('index', array('id'=>$nextp['id']))}" title="{$nextp['title']}" target="_blank">{$nextp['title']}{else}没有了{/if}</a></li></ul>
		</div>
		<div class="clear"></div>
		<div class="copyright">
			本站日志除注明转载外，均为本站原创或编译<br>
			欢迎任何形式的转载，但请务必注明出处，尊重他人劳动共建开源计划<br>
			转载请注明：文章转载自：<strong>{A('public/sitename')}</strong> [<a href="{DOMAIN}{ROOT_URL}" target="_blank">{DOMAIN}{ROOT_URL}</a>]<br>
			本文标题：{$file['title']}<br>
			本文地址：<a href="{U('show/index', array('id' => $file['id']))}" target="_blank">{U('show/index', array('id' => $file['id']))}</a>
		</div>
		{if $check['ad_post_3']}
		<div class="xg"><h2>猜你喜欢</h2>
			{A('ad/postad')}
		</div>
		{/if}
	</div>
	<label id="AjaxCommentBegin"></label>
	<div id="comments">
		<div class="commentpost">
			<h4><span></span>发表评论</h4>
			{if $file['ispl']}
			<div id="commentpost"></div>
			<script type="text/javascript">
				$("#commentpost").load("{U('pinglun/pinglun', array('pget'=>$id))}");
			</script>
			{else}
			<font color="red"><b>评论已经关闭</b></font>
			{/if}
		</div>
	</div>
	<label id="AjaxCommentEnd"></label>
</div>
{A('public/right')}
<div class="clear"></div>
</div>
{A('public/footer')}


